import java.util.*;

public class anything { 
  
  public static void main (String[] args) {
    
    Task task = new Task(12, 04, 12, "1000" , "1200", "work", true, "bringmegodoctor", "toilet");
    Task task2 = new Task(11, 03, 12,"1600", "1900", "enjoy", true, "bringmegopub", "toilet");
    Task task3 = new Task(10, 02, 12, "1300", "1400", "study", true, "goschool", "school");
    Task task4 = new Task(30, 02, 11, "0320", "0520", "gaming", true, "golan", "lan");
    Task task5 = new Task(30, 02, 11, "2300", "2350", "swimming", true, "goswimmingpool", "pool");
    Task modifiedtask = new Task(01, 05, 11, "2330", "2359", "lame" , true, "gotoilet", "toilet");
    BasicFeaturesV1 v1 = new BasicFeaturesV1();
    
    v1.addTask(task);
    v1.addTask(task2);
    v1.addTask(task3);
    v1.addTask(task4);
    v1.addTask(task5);
    //System.out.print(task4.getStartTime(), task4.getEndTime());
    
    Task taskkk = v1.specificTask(2);
    v1.printTask(taskkk);
    
    System.out.println();
    //v1.modify(3, modifiedtask);
    //System.out.print("Viewing by label: ");
    //ArrayList<Task> hahaha = new ArrayList<Task>(99);
    //hahaha = v1.viewbyLabel("shit");
    //int i=0;
    //for(i=0; i<hahaha.size(); i++){
      //Task hehe = hahaha.get(i);
      //v1.printTask(hehe);
   // }
    System.out.println();
    
    
    
    System.out.print("checking sort(): ");
    v1.printeverything();
  }
}